home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Linux Cubed Series 3: Developer Tools
/
Linux Cubed Series 3 - Developer Tools.iso
/
utils
/
console
/
svgatext.3
/
svgatext
/
SVGATextMode-1.3
/
contrib
/
scripts
/
cleanup_TextConfig
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Text File
|
1995-08-02
|
384 b
|
16 lines
#!/bin/sh
#
# This little script formats The TextConfig file, so all config lines use the same spacing
#
# Contributed by Allessandro Rubini.
#
#
if [ "$1" = "" ]; then
CONFIGFILE=/etc/TextConfig
else
CONFIGFILE=$1
fi
awk '$11 ~ /^font$/ && /^"/ {printf "%-17s %3d %4d %4d %4d %4d %4d %4d %4d %4d font %5s\n",$1,$2,$3,$4,$5,$6,$7,$8,$9,$10,$12; continue} {print}' $CONFIGFILE